Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / JManager Functions
Utility Functions /


JMFSSToURL

Converts a Mac OS file system specification record (FSSpec) into a Uniform Resource Locator (URL) string.

Handle JMFSSToURL(JMSessionRef session,
const FSSpec* spec);
session
The current session.
spec
A pointer to a file system specification record.
function result
A handle containing a URL string in the form file://xxxx. If the file cannot be found, the function returns null.
DISCUSSION
The JMFSSToURL function resolves the path of the file represented by the file system specification record and returns this information as a URL string. The handle returned points to the a null-terminated string. Your application is responsible for calling the Mac OS Toolbox function DisposeHandle to release the allocated handle.

SEE ALSO
The JMURLToFSS function (page 57).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help